|
PHY LOAD RIGID BODY STATIC MESHES
Load data from a static mesh file and apply this to an object.
phy load rigid body static meshes ID, file$ phy load rigid body static meshes ID, file$, material
ID
identification number of the 3D object that will be represented by the mesh data
file$
the data from file to be loaded, this must have been saved with phy make rigid body static meshes
material
this parameter is optional, a material can be specified if required, by specifying a material you can have further control over how the object will react with other objects in regard to properties such as its restitution
This command does not return a value.
This command can be a much better approach as using pre calculated data will be faster than having to compute static meshes each time you run your program.
|